package com.itbaizhan.service;

/**
 * @author spf
 * @date 2024/2/2
 * @time 21:10
 */

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * openfeign 就是接口和注解
 */
@FeignClient("CLOUD-PROVIDER-PAYMENT")
public interface PaymentFeignService {

    @GetMapping("/payment/index")
    String index();

    @GetMapping("/payment/timeout")
    String timeout();

}
